


function companyChange() {

    var cboCompany = $('#CompanyCbo');
    var imgCompany = $('#ImgEmpresa');
    var lblPtoVtaInfo = $('#lblPtoVtaInfo');

    if (cboCompany.val() != '-1' && cboCompany.val() != undefined) {
        lblPtoVtaInfo.html($('#cboCompany option:selected').text());

        if (companies) {
            imgCompany.attr('src', companies[cboCompany.val()]);
        }

        $('#hidCompany').val(cboCompany.val());

    }
    else {
        lblPtoVtaInfo.html("Marca no seleccionada");
        imgCompany.attr('src', '');
    }
};
